<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>Test15</title>
	</head>
	<body>
		<script type="text/javascript">
			var a=parseInt(prompt("请输入一个数字a"));
			var b=parseInt(prompt("请输入一个数字b"));
			alert("最大的数是:"+(a>b?a:b));
		</script>
	</body>
</html>
